import { Provider } from 'react-redux';
import React from "react";
import { useLaunch } from '@tarojs/taro'
import store from './store';

// import 'taro-ui/dist/style/index.scss'
import DuiHuaKuang from './components/common/DuiHuaKuang'
import './app.scss'

React.$DuiHuaKuang = DuiHuaKuang



function App({ children }) {
  useLaunch(() => {
    console.log('App launched.')
  })

  // children 是将要会渲染的页面
  return (
    <Provider store={store}>
      {children}
    </Provider>
  )
}



export default App
